package com.itheima.jdbctemplate;

import com.itheima.dao.IAccountDao;
import com.itheima.dao.impl.AccountDaoImpl;
import com.itheima.dao.impl.AccountDaoImpl2;
import com.itheima.dao.impl.AccountDaoImpl3;
import com.itheima.domain.Account;
import org.springframework.beans.factory.annotation.Autowired;


/*测试 继承*/



public class JdbcTemplateDemo05 {

    @Autowired
    AccountDaoImpl3 accountDaoImpl3;

  //main方法中不能使用注解,去测试方法中

    public void show(){

        Account account = accountDaoImpl3.findAccountById(1);
        System.out.println(account);
    }

}
